export default {
    addToCart({ commit }, product) {
      commit('ADD_TO_CART', product)
    },
    
    removeFromCart({ commit }, productId) {
      commit('REMOVE_FROM_CART', productId)
    },
    
    updateQuantity({ commit }, payload) {
      commit('UPDATE_QUANTITY', payload)
    }
  }